import { axios } from '../utils/request';
export function getTourlist() {
  return axios.get('/getTourlist');
}
// 获取服务列表
export function getServelist(params: any) {
  return axios.get('/getServelist', { params });
}

// 获取聊天列表
export function getChatlist(params: any) {
  return axios.get('/getChatlist', { params });
}

// 获取客服列表
export function getPeoplelist(params: any) {
  return axios.get('/getPeoplelist', { params });
}

// 获取楼盘数据
export function getLouList() {
  return axios.get('/getLouList');
}

// 获取详情列表
export function getDetailList(params: any) {
  return axios.get('/getDetailList', { params });
}

// 获取在线客服
export function getOnlineList() {
  return axios.get('/getOnlineList');
}

// 获取在线游客
export function getVistor() {
  return axios.get('/getVistor');
}

// 删除
export function dels(params: any) {
  return axios.get('/dels', { params });
}

// 获取沙盘
export function getSand() {
  return axios.get('/sand');
}

// 获取租房列表
export function getRent() {
  return axios.get('/rent');
}

// 获取二手房
export function getSecond() {
  return axios.get('/second');
}
